//创建一个路由器，暴露出去
import { createRouter, createWebHistory } from 'vue-router'
import Home from '../components/Home.vue'
import History from '../components/History.vue'
import Ocr from '../components/Ocr.vue'
import Punctuation from '../components/Punctuation.vue'
import Migration from '../components/Migration.vue'
import Comparision from '../components/Comparision.vue'


const router = createRouter({
    history: createWebHistory(),
    routes: [{
        path: '/',
        component: Home
    },
    {
        path: '/history',
        component: History
    },
    {
        path: '/Ocr',
        component: Ocr
    },
    {
        path: '/punctuation',
        component: Punctuation
    },
    {
        path: '/migration',
        component: Migration
    },
    {
        path: '/comparision',
        component: Comparision
    },
    ],
})

export default router